package com.atguigu.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * spu信息
 * 
 * @author zhangbs
 * @email 18201064863@163.com
 * @date 2024-02-06 22:20:35
 */
@Data
@TableName("pms_spu_info")
public class SpuInfoEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	// 商品id
	@TableId
	private Long id;
	// 商品名称
	private String spuName;
	// 商品描述
	private String spuDescription;
	// 所属分类id
	private Long catalogId;
	// 品牌id
	private Long brandId;
	private BigDecimal weight;
	// 上架状态[0 - 下架，1 - 上架]
	private int publishStatus;
	private Date createTime;
	private Date updateTime;

}
